package org.easy.system.manage.dao;

import java.util.List;

import org.easy.system.manage.entity.SysRole;

public interface SysRoleMapper {
    /**
     *
     * @mbggenerated 2019-10-17
     */
    int deleteByPrimaryKey(Long roleId);

    /**
     *
     * @mbggenerated 2019-10-17
     */
    int insert(SysRole record);

    /**
     *
     * @mbggenerated 2019-10-17
     */
    int insertSelective(SysRole record);

    /**
     *
     * @mbggenerated 2019-10-17
     */
    SysRole selectByPrimaryKey(Long roleId);

    /**
     *
     * @mbggenerated 2019-10-17
     */
    int updateByPrimaryKeySelective(SysRole record);

    /**
     *
     * @mbggenerated 2019-10-17
     */
    int updateByPrimaryKey(SysRole record);

	List<SysRole> selectRolesByUserId(Long userId);
}